import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/global.css'
import request from "@/utils/request";
import store from './store'
import './plugins/element.js'
import dayjs from 'dayjs'

Vue.config.productionTip = false

//全局属性
Vue.prototype.$basePath = 'http://localhost:8080/';
//指定控件大小(small也可)
Vue.use(ElementUI,{size:"mini"})

Vue.prototype.request=request
Vue.prototype.$dayjs = dayjs;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')